import service from "../utils/request.js";
// 登录
export function user_login(payload = {}) {
    return service.post('api/user/login', payload)
}
// 注册
export function user_register(payload = {}) {
    return service.post('api/user/register', payload)
}
// 首页轮播图
export function index_banner(payload = {}) {
    return service.get('/api/index/banner', { params: payload })
}
// 首页导航
export function index_nav(payload = {}) {
    return service.get('/api/index/nav', { params: payload })
}
// 首页推荐列表
export function index_goodlist(payload = {}) {
    return service.get('/api/index/goodlist', { params: payload })
}